package store.domain;

import javax.persistence.*;
import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Date;
import java.sql.Timestamp;

@Entity
@Table(name = "jos_jshopping_orders")
public class Order implements Serializable {
    private Integer orderId;
    private String orderNumber;
    private Integer userId;
    private BigDecimal orderTotal;
    private BigDecimal orderSubtotal;
    private BigDecimal orderTax;
    private String orderTaxExt;
    private BigDecimal orderShipping;
    private BigDecimal orderPayment;
    private BigDecimal orderDiscount;
    private BigDecimal shippingTax;
    private String shippingTaxExt;
    private BigDecimal paymentTax;
    private String paymentTaxExt;
    private BigDecimal orderPackage;
    private String packageTaxExt;
    private String currencyCode;
    private String currencyCodeIso;
    private BigDecimal currencyExchange;
    private Byte orderStatus;
    private Byte orderCreated;
    private Timestamp orderDate;
    private Timestamp invoiceDate;
    private Timestamp orderMDate;
    private Integer shippingMethodId;
    private Integer deliveryTimesId;
    private Integer paymentMethodId;
    private String paymentParams;
    private String paymentParamsData;
    private String deliveryTime;
    private Timestamp deliveryDate;
    private Integer couponId;
    private String ipAddress;
    private String orderAddInfo;
    private Byte title;
    private String fName;
    private String lName;
    private String mName;
    private String firmaName;
    private Byte clientType;
    private String clientTypeName;
    private String firmaCode;
    private String taxNumber;
    private String email;
    private Date birthday;
    private String street;
    private String home;
    private String apartment;
    private String zip;
    private String city;
    private String state;
    private Integer country;
    private String phone;
    private String mobilPhone;
    private String fax;
    private String extField1;
    private String extField2;
    private String extField3;
    private Byte dTitle;
    private String dFName;
    private String dLName;
    private String dMName;
    private String dFirmaName;
    private String dEmail;
    private Date dBirthday;
    private String dStreet;
    private String dHome;
    private String dApartment;
    private String dZip;
    private String dCity;
    private String dState;
    private Integer dCountry;
    private String dPhone;
    private String dMobilPhone;
    private String dFax;
    private String dExtField1;
    private String dExtField2;
    private String dExtField3;
    private String pdfFile;
    private String orderHash;
    private String fileHash;
    private String fileStatDownloads;
    private String orderCustomInfo;
    private Byte displayPrice;
    private Byte vendorType;
    private Integer vendorId;
    private String lang;
    private String transaction;

    @Id
    @GeneratedValue
    @Column(name = "order_id")
    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    @Column(name = "order_number")
    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    @Column(name = "user_id")
    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    @Column(name = "order_total")
    public BigDecimal getOrderTotal() {
        return orderTotal;
    }

    public void setOrderTotal(BigDecimal orderTotal) {
        this.orderTotal = orderTotal;
    }

    @Column(name = "order_subtotal")
    public BigDecimal getOrderSubtotal() {
        return orderSubtotal;
    }

    public void setOrderSubtotal(BigDecimal orderSubtotal) {
        this.orderSubtotal = orderSubtotal;
    }

    @Column(name = "order_tax")
    public BigDecimal getOrderTax() {
        return orderTax;
    }

    public void setOrderTax(BigDecimal orderTax) {
        this.orderTax = orderTax;
    }

    @Column(name = "order_tax_ext")
    public String getOrderTaxExt() {
        return orderTaxExt;
    }

    public void setOrderTaxExt(String orderTaxExt) {
        this.orderTaxExt = orderTaxExt;
    }

    @Column(name = "order_shipping")
    public BigDecimal getOrderShipping() {
        return orderShipping;
    }

    public void setOrderShipping(BigDecimal orderShipping) {
        this.orderShipping = orderShipping;
    }

    @Column(name = "order_payment")
    public BigDecimal getOrderPayment() {
        return orderPayment;
    }

    public void setOrderPayment(BigDecimal orderPayment) {
        this.orderPayment = orderPayment;
    }

    @Column(name = "order_discount")
    public BigDecimal getOrderDiscount() {
        return orderDiscount;
    }

    public void setOrderDiscount(BigDecimal orderDiscount) {
        this.orderDiscount = orderDiscount;
    }

    @Column(name = "shipping_tax")
    public BigDecimal getShippingTax() {
        return shippingTax;
    }

    public void setShippingTax(BigDecimal shippingTax) {
        this.shippingTax = shippingTax;
    }

    @Column(name = "shipping_tax_ext")
    public String getShippingTaxExt() {
        return shippingTaxExt;
    }

    public void setShippingTaxExt(String shippingTaxExt) {
        this.shippingTaxExt = shippingTaxExt;
    }

    @Column(name = "payment_tax")
    public BigDecimal getPaymentTax() {
        return paymentTax;
    }

    public void setPaymentTax(BigDecimal paymentTax) {
        this.paymentTax = paymentTax;
    }

    @Column(name = "payment_tax_ext")
    public String getPaymentTaxExt() {
        return paymentTaxExt;
    }

    public void setPaymentTaxExt(String paymentTaxExt) {
        this.paymentTaxExt = paymentTaxExt;
    }

    @Column(name = "order_package")
    public BigDecimal getOrderPackage() {
        return orderPackage;
    }

    public void setOrderPackage(BigDecimal orderPackage) {
        this.orderPackage = orderPackage;
    }

    @Column(name = "package_tax_ext")
    public String getPackageTaxExt() {
        return packageTaxExt;
    }

    public void setPackageTaxExt(String packageTaxExt) {
        this.packageTaxExt = packageTaxExt;
    }

    @Column(name = "currency_code")
    public String getCurrencyCode() {
        return currencyCode;
    }

    public void setCurrencyCode(String currencyCode) {
        this.currencyCode = currencyCode;
    }

    @Column(name = "currency_code_iso")
    public String getCurrencyCodeIso() {
        return currencyCodeIso;
    }

    public void setCurrencyCodeIso(String currencyCodeIso) {
        this.currencyCodeIso = currencyCodeIso;
    }

    @Column(name = "currency_exchange")
    public BigDecimal getCurrencyExchange() {
        return currencyExchange;
    }

    public void setCurrencyExchange(BigDecimal currencyExchange) {
        this.currencyExchange = currencyExchange;
    }

    @Column(name = "order_status")
    public Byte getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Byte orderStatus) {
        this.orderStatus = orderStatus;
    }

    @Column(name = "order_created")
    public Byte getOrderCreated() {
        return orderCreated;
    }

    public void setOrderCreated(Byte orderCreated) {
        this.orderCreated = orderCreated;
    }

    @Column(name = "order_date")
    public Timestamp getOrderDate() {
        return orderDate;
    }

    public void setOrderDate(Timestamp orderDate) {
        this.orderDate = orderDate;
    }

    @Column(name = "invoice_date")
    public Timestamp getInvoiceDate() {
        return invoiceDate;
    }

    public void setInvoiceDate(Timestamp invoiceDate) {
        this.invoiceDate = invoiceDate;
    }

    @Column(name = "order_m_date")
    public Timestamp getOrderMDate() {
        return orderMDate;
    }

    public void setOrderMDate(Timestamp orderMDate) {
        this.orderMDate = orderMDate;
    }

    @Column(name = "shipping_method_id")
    public Integer getShippingMethodId() {
        return shippingMethodId;
    }

    public void setShippingMethodId(Integer shippingMethodId) {
        this.shippingMethodId = shippingMethodId;
    }

    @Column(name = "delivery_times_id")
    public Integer getDeliveryTimesId() {
        return deliveryTimesId;
    }

    public void setDeliveryTimesId(Integer deliveryTimesId) {
        this.deliveryTimesId = deliveryTimesId;
    }

    @Column(name = "payment_method_id")
    public Integer getPaymentMethodId() {
        return paymentMethodId;
    }

    public void setPaymentMethodId(Integer paymentMethodId) {
        this.paymentMethodId = paymentMethodId;
    }

    @Column(name = "payment_params")
    public String getPaymentParams() {
        return paymentParams;
    }

    public void setPaymentParams(String paymentParams) {
        this.paymentParams = paymentParams;
    }

    @Column(name = "payment_params_data")
    public String getPaymentParamsData() {
        return paymentParamsData;
    }

    public void setPaymentParamsData(String paymentParamsData) {
        this.paymentParamsData = paymentParamsData;
    }

    @Column(name = "delivery_time")
    public String getDeliveryTime() {
        return deliveryTime;
    }

    public void setDeliveryTime(String deliveryTime) {
        this.deliveryTime = deliveryTime;
    }

    @Column(name = "delivery_date")
    public Timestamp getDeliveryDate() {
        return deliveryDate;
    }

    public void setDeliveryDate(Timestamp deliveryDate) {
        this.deliveryDate = deliveryDate;
    }

    @Column(name = "coupon_id")
    public Integer getCouponId() {
        return couponId;
    }

    public void setCouponId(Integer couponId) {
        this.couponId = couponId;
    }

    @Column(name = "ip_address")
    public String getIpAddress() {
        return ipAddress;
    }

    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress;
    }

    @Column(name = "order_add_info")
    public String getOrderAddInfo() {
        return orderAddInfo;
    }

    public void setOrderAddInfo(String orderAddInfo) {
        this.orderAddInfo = orderAddInfo;
    }

    @Column(name = "title")
    public Byte getTitle() {
        return title;
    }

    public void setTitle(Byte title) {
        this.title = title;
    }

    @Column(name = "f_name")
    public String getfName() {
        return fName;
    }

    public void setfName(String fName) {
        this.fName = fName;
    }

    @Column(name = "l_name")
    public String getlName() {
        return lName;
    }

    public void setlName(String lName) {
        this.lName = lName;
    }

    @Column(name = "m_name")
    public String getmName() {
        return mName;
    }

    public void setmName(String mName) {
        this.mName = mName;
    }

    @Column(name = "firma_name")
    public String getFirmaName() {
        return firmaName;
    }

    public void setFirmaName(String firmaName) {
        this.firmaName = firmaName;
    }

    @Column(name = "client_type")
    public Byte getClientType() {
        return clientType;
    }

    public void setClientType(Byte clientType) {
        this.clientType = clientType;
    }

    @Column(name = "client_type_name")
    public String getClientTypeName() {
        return clientTypeName;
    }

    public void setClientTypeName(String clientTypeName) {
        this.clientTypeName = clientTypeName;
    }

    @Column(name = "firma_code")
    public String getFirmaCode() {
        return firmaCode;
    }

    public void setFirmaCode(String firmaCode) {
        this.firmaCode = firmaCode;
    }

    @Column(name = "tax_number")
    public String getTaxNumber() {
        return taxNumber;
    }

    public void setTaxNumber(String taxNumber) {
        this.taxNumber = taxNumber;
    }

    @Column(name = "email")
    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    @Column(name = "birthday")
    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    @Column(name = "street")
    public String getStreet() {
        return street;
    }

    public void setStreet(String street) {
        this.street = street;
    }

    @Column(name = "home")
    public String getHome() {
        return home;
    }

    public void setHome(String home) {
        this.home = home;
    }

    @Column(name = "apartment")
    public String getApartment() {
        return apartment;
    }

    public void setApartment(String apartment) {
        this.apartment = apartment;
    }

    @Column(name = "zip")
    public String getZip() {
        return zip;
    }

    public void setZip(String zip) {
        this.zip = zip;
    }

    @Column(name = "city")
    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    @Column(name = "state")
    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    @Column(name = "country")
    public Integer getCountry() {
        return country;
    }

    public void setCountry(Integer country) {
        this.country = country;
    }

    @Column(name = "phone")
    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    @Column(name = "mobil_phone")
    public String getMobilPhone() {
        return mobilPhone;
    }

    public void setMobilPhone(String mobilPhone) {
        this.mobilPhone = mobilPhone;
    }

    @Column(name = "fax")
    public String getFax() {
        return fax;
    }

    public void setFax(String fax) {
        this.fax = fax;
    }

    @Column(name = "ext_field_1")
    public String getExtField1() {
        return extField1;
    }

    public void setExtField1(String extField1) {
        this.extField1 = extField1;
    }

    @Column(name = "ext_field_2")
    public String getExtField2() {
        return extField2;
    }

    public void setExtField2(String extField2) {
        this.extField2 = extField2;
    }


    @Column(name = "ext_field_3")
    public String getExtField3() {
        return extField3;
    }

    public void setExtField3(String extField3) {
        this.extField3 = extField3;
    }

    @Column(name = "d_title")
    public Byte getdTitle() {
        return dTitle;
    }

    public void setdTitle(Byte dTitle) {
        this.dTitle = dTitle;
    }

    @Column(name = "d_f_name")
    public String getdFName() {
        return dFName;
    }

    public void setdFName(String dFName) {
        this.dFName = dFName;
    }

    @Column(name = "d_l_name")
    public String getdLName() {
        return dLName;
    }

    public void setdLName(String dLName) {
        this.dLName = dLName;
    }

    @Column(name = "d_m_name")
    public String getdMName() {
        return dMName;
    }

    public void setdMName(String dMName) {
        this.dMName = dMName;
    }

    @Column(name = "d_firma_name")
    public String getdFirmaName() {
        return dFirmaName;
    }

    public void setdFirmaName(String dFirmaName) {
        this.dFirmaName = dFirmaName;
    }

    @Column(name = "d_email")
    public String getdEmail() {
        return dEmail;
    }

    public void setdEmail(String dEmail) {
        this.dEmail = dEmail;
    }

    @Column(name = "d_birthday")
    public Date getdBirthday() {
        return dBirthday;
    }

    public void setdBirthday(Date dBirthday) {
        this.dBirthday = dBirthday;
    }

    @Column(name = "d_street")
    public String getdStreet() {
        return dStreet;
    }

    public void setdStreet(String dStreet) {
        this.dStreet = dStreet;
    }

    @Column(name = "d_home")
    public String getdHome() {
        return dHome;
    }

    public void setdHome(String dHome) {
        this.dHome = dHome;
    }

    @Column(name = "d_apartment")
    public String getdApartment() {
        return dApartment;
    }

    public void setdApartment(String dApartment) {
        this.dApartment = dApartment;
    }

    @Column(name = "d_zip")
    public String getdZip() {
        return dZip;
    }

    public void setdZip(String dZip) {
        this.dZip = dZip;
    }

    @Column(name = "d_city")
    public String getdCity() {
        return dCity;
    }

    public void setdCity(String dCity) {
        this.dCity = dCity;
    }

    @Column(name = "d_state")
    public String getdState() {
        return dState;
    }

    public void setdState(String dState) {
        this.dState = dState;
    }

    @Column(name = "d_country")
    public Integer getdCountry() {
        return dCountry;
    }

    public void setdCountry(Integer dCountry) {
        this.dCountry = dCountry;
    }

    @Column(name = "d_phone")
    public String getdPhone() {
        return dPhone;
    }

    public void setdPhone(String dPhone) {
        this.dPhone = dPhone;
    }

    @Column(name = "d_mobil_phone")
    public String getdMobilPhone() {
        return dMobilPhone;
    }

    public void setdMobilPhone(String dMobilPhone) {
        this.dMobilPhone = dMobilPhone;
    }

    @Column(name = "d_fax")
    public String getdFax() {
        return dFax;
    }

    public void setdFax(String dFax) {
        this.dFax = dFax;
    }

    @Column(name = "d_ext_field_1")
    public String getdExtField1() {
        return dExtField1;
    }

    public void setdExtField1(String dExtField1) {
        this.dExtField1 = dExtField1;
    }

    @Column(name = "d_ext_field_2")
    public String getdExtField2() {
        return dExtField2;
    }

    public void setdExtField2(String dExtField2) {
        this.dExtField2 = dExtField2;
    }

    @Column(name = "d_ext_field_3")
    public String getdExtField3() {
        return dExtField3;
    }

    public void setdExtField3(String dExtField3) {
        this.dExtField3 = dExtField3;
    }

    @Column(name = "pdf_file")
    public String getPdfFile() {
        return pdfFile;
    }

    public void setPdfFile(String pdfFile) {
        this.pdfFile = pdfFile;
    }

    @Column(name = "order_hash")
    public String getOrderHash() {
        return orderHash;
    }

    public void setOrderHash(String orderHash) {
        this.orderHash = orderHash;
    }

    @Column(name = "file_hash")
    public String getFileHash() {
        return fileHash;
    }

    public void setFileHash(String fileHash) {
        this.fileHash = fileHash;
    }

    @Column(name = "file_stat_downloads")
    public String getFileStatDownloads() {
        return fileStatDownloads;
    }

    public void setFileStatDownloads(String fileStatDownloads) {
        this.fileStatDownloads = fileStatDownloads;
    }

    @Column(name = "order_custom_info")
    public String getOrderCustomInfo() {
        return orderCustomInfo;
    }

    public void setOrderCustomInfo(String orderCustomInfo) {
        this.orderCustomInfo = orderCustomInfo;
    }

    @Column(name = "display_price")
    public Byte getDisplayPrice() {
        return displayPrice;
    }

    public void setDisplayPrice(Byte displayPrice) {
        this.displayPrice = displayPrice;
    }

    @Column(name = "vendor_type")
    public Byte getVendorType() {
        return vendorType;
    }

    public void setVendorType(Byte vendorType) {
        this.vendorType = vendorType;
    }

    @Column(name = "vendor_id")
    public Integer getVendorId() {
        return vendorId;
    }

    public void setVendorId(Integer vendorId) {
        this.vendorId = vendorId;
    }

    @Column(name = "lang")
    public String getLang() {
        return lang;
    }

    public void setLang(String lang) {
        this.lang = lang;
    }

    @Column(name = "transaction")
    public String getTransaction() {
        return transaction;
    }

    public void setTransaction(String transaction) {
        this.transaction = transaction;
    }
}
